package org.marketing.common.dto.forum;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;


public class ForumTopicDto {
	
    private Long topicId;

    private Long potentialUserId;

    private Long userType;

    private Long boardId;

    private Long transpondTopicId;

    private String topicName;

    private String topicContent;

    private String topicContentPath;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date postTime;

    private Long ifTop;

    private Long ifEssence;

    private Long readCount;

    private Long transpondCount;

    private Long replyCount;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;

    private Long createBy;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateDate;

    private Long updateBy;

    private Short deleteFlag;
    
    //发帖人昵称和头像
    private String userName;
    
    private String headImgURL;
    
    //标题版块类型名称
    private String typeName;
    private String openId;
    
    //版块名称，状态，是否精华，置顶
    private String boardName;
    private String status;
    private String isEssence;
    private String isTop;
    
    //转换的时间
    private String postTimeStr;
    
    //分享查看用户类型
    private Long transpondType;
    
    //查看用户类型
    private Integer readUserType;
    
    //是否是自己
    private Integer ifMy;
    
    //关联标题图片ID
    //private Long topicImgId;
    //标题图片
    private List<ForumTopicImgDto> forumTopicImgDto;
    
    //回复列表
    private List<ForumReplyDto> forumReplyDto;

	public Long getTopicId() {
		return topicId;
	}

	public void setTopicId(Long topicId) {
		this.topicId = topicId;
	}

	public Long getPotentialUserId() {
		return potentialUserId;
	}

	public void setPotentialUserId(Long potentialUserId) {
		this.potentialUserId = potentialUserId;
	}

	public Long getUserType() {
		return userType;
	}

	public void setUserType(Long userType) {
		this.userType = userType;
	}

	public Long getBoardId() {
		return boardId;
	}

	public void setBoardId(Long boardId) {
		this.boardId = boardId;
	}

	public Long getTranspondTopicId() {
		return transpondTopicId;
	}

	public void setTranspondTopicId(Long transpondTopicId) {
		this.transpondTopicId = transpondTopicId;
	}

	public String getTopicName() {
		return topicName;
	}

	public void setTopicName(String topicName) {
		this.topicName = topicName;
	}

	public String getTopicContent() {
		return topicContent;
	}

	public void setTopicContent(String topicContent) {
		this.topicContent = topicContent;
	}

	public String getTopicContentPath() {
		return topicContentPath;
	}

	public void setTopicContentPath(String topicContentPath) {
		this.topicContentPath = topicContentPath;
	}

	public Date getPostTime() {
		return postTime;
	}

	public void setPostTime(Date postTime) {
		this.postTime = postTime;
	}

	public Long getIfTop() {
		return ifTop;
	}

	public void setIfTop(Long ifTop) {
		this.ifTop = ifTop;
	}

	public Long getIfEssence() {
		return ifEssence;
	}

	public void setIfEssence(Long ifEssence) {
		this.ifEssence = ifEssence;
	}

	public Long getReadCount() {
		return readCount;
	}

	public void setReadCount(Long readCount) {
		this.readCount = readCount;
	}

	public Long getTranspondCount() {
		return transpondCount;
	}

	public void setTranspondCount(Long transpondCount) {
		this.transpondCount = transpondCount;
	}

	public Long getReplyCount() {
		return replyCount;
	}

	public void setReplyCount(Long replyCount) {
		this.replyCount = replyCount;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Long getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Long getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Short getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Short deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getHeadImgURL() {
		return headImgURL;
	}

	public void setHeadImgURL(String headImgURL) {
		this.headImgURL = headImgURL;
	}

	public List<ForumTopicImgDto> getForumTopicImgDto() {
		return forumTopicImgDto;
	}

	public void setForumTopicImgDto(List<ForumTopicImgDto> forumTopicImgDto) {
		this.forumTopicImgDto = forumTopicImgDto;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public List<ForumReplyDto> getForumReplyDto() {
		return forumReplyDto;
	}

	public void setForumReplyDto(List<ForumReplyDto> forumReplyDto) {
		this.forumReplyDto = forumReplyDto;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getBoardName() {
		return boardName;
	}

	public void setBoardName(String boardName) {
		this.boardName = boardName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getIsEssence() {
		return isEssence;
	}

	public void setIsEssence(String isEssence) {
		this.isEssence = isEssence;
	}

	public String getIsTop() {
		return isTop;
	}

	public void setIsTop(String isTop) {
		this.isTop = isTop;
	}

	public String getPostTimeStr() {
		return postTimeStr;
	}

	public void setPostTimeStr(String postTimeStr) {
		this.postTimeStr = postTimeStr;
	}

	public Long getTranspondType() {
		return transpondType;
	}

	public void setTranspondType(Long transpondType) {
		this.transpondType = transpondType;
	}

	public Integer getReadUserType() {
		return readUserType;
	}

	public void setReadUserType(Integer readUserType) {
		this.readUserType = readUserType;
	}

	public Integer getIfMy() {
		return ifMy;
	}

	public void setIfMy(Integer ifMy) {
		this.ifMy = ifMy;
	}

    
}